//
//  CameraPreviewView.m
//  vImageStudy
//
//  Created by Evan Xie on 8/14/15.
//  Copyright (c) 2015 Family Wings. All rights reserved.
//


#import <AVFoundation/AVFoundation.h>
#import "CameraPreviewView.h"


@implementation CameraPreviewView

+ (Class)layerClass
{
    return [AVCaptureVideoPreviewLayer class];
}

- (AVCaptureSession *)session
{
    return [(AVCaptureVideoPreviewLayer *)self.layer session];
}

- (void)setSession:(AVCaptureSession *)session
{
    [(AVCaptureVideoPreviewLayer *)self.layer setSession:session];
}

@end
